package top.infopub.mgr.hr.service;

import com.github.pagehelper.Page;
import top.infopub.generic.GenericService;
import top.infopub.model.hr.PostGroup;

import java.util.List;

public interface PostGroupService extends GenericService<PostGroup, String> {


    /**
     * 新增/编辑岗位组
     * @param postGroup
     * @see
     */
    void save(PostGroup postGroup);

    /**
     * 根据条件查询岗位组
     * @param page
     * @param postGroup
     * @return
     * @see
     */
    Page<PostGroup> selectPageByDomainWhere(Page<PostGroup> page, PostGroup postGroup);

    void savePost(String postName ,String groupId,String type,String roleType);

    void deleteGroupInfoById(String id);
}
